import jfRequest from "../../index";
import { IResultType } from "types/request";
// 获取报修列表
export function getList(data: any) {
  return jfRequest.post<IResultType<any>>({
    url: "/api/v1/equipment/repair/list",
    data,
  });
}

// 获取工资详情
export function getDetail(id: string) {
  return jfRequest.get<any>({
    url: "/api/v1/wage/" + id,
  });
}